home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Zoom 2
/
Zoom - Release 2 (1996)(Active Software)[!].iso
/
texts
/
dosman121
/
man
/
wait
< prev
next >
Wrap
Text File
|
1995-04-04
|
2KB
|
66 lines
Wait (V1.3, 2.x, 3.x in C:)
NAME
Wait - Delay a specified amount of time.
SYNOPSIS
WAIT n [SEC=SECS] [MIN=MINS] [UNTIL time]
DESCRIPTION
Wait will delay a specified number of seconds or
minutes, or until the specified time is reached. This is
most often used in EXECUTE batch files for a delay. By
default, all units are in seconds. If no delay is
specified, the default delay is 1 second. Sending a break
to the WAIT command will cause WAIT to conclude.
OPTIONS
n
The amount of time, in minutes or seconds that the
system will wait. If a time isn't specified then
it defaults to 1 second.
SEC=SECS
The number entered is the number of seconds (this is
the default) to wait.
MIN=MINS
The number entered is the number of minutes to wait.
UNTIL
The string entered is a valid time. Wait will delay
until this time is reached.
You may only specify one of UNTIL, MINS, or SECS for WAIT.
EXAMPLE
1. To WAIT one second:
WAIT
2. To wait ten seconds:
WAIT 10 secs
3. To wait until 3:00:
WAIT UNTIL 3:00
4. To wait for three minutes:
WAIT 3 min
or
WAIT 180
5. To set up a background process that waits until 3:00 and then
delete all the files in a directory named 'Garbage':
RUN WAIT UNTIL 3:00
DELETE Garbage/#?